package com.rtx.edi.platform.rule.bean;

import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 
 * @author luoqiongli
 *
 */
@Data
@TableName("pl_serial_rule")
@ApiModel(value = " PlSerialRule对象", description = "流水号生成规则")
public class PlSerialRule {
	@ApiModelProperty(value = "主键id")
	private Long id;
	
    @ApiModelProperty(value = "流水号名称")
    private String name;
    
    @ApiModelProperty(value = "流水号前缀")
    private String prefix;
    
    @ApiModelProperty(value = "流水号code")
    private String code;
    
    @ApiModelProperty(value = "流水号请求url")
    private String requesturl;
    
    @ApiModelProperty(value = "流水号生成类型 RISAPI调用riswms接口 NCOUNT 获取对应数据库NCOUNT表生成 SERIALKEY 通过表序列号生成")
    private String type;
    
    @ApiModelProperty(value = "自定义流水号生成逻辑")
    private String beanname;
    
}
